package com.example.yangjintingtest.domain;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class AppConfig {
    @Value("${app.name}")
    private String name;
    @Value("${app.max-users}")
    private int max;
    @Value("${app.debug-mode}")
    private boolean mode;

}
